<template>
    <div class="set_form">
        <el-form class="set_el_form" :model="form" ref="form">
            <input class="password_inp" type="text" v-model="form.password" autocomplete="off" placeholder="请输入8位以上(数字+字母)密码">
            <input class="password_inp password_inp_l" type="text" v-model="form.recomfirm" autocomplete="off" placeholder="请确认密码">
            <el-button class="form_submit" type="submit" @click="submit">下一步</el-button>
        </el-form>
    </div>
</template>

<script>
export default {
    data() {
        return {
            form: {
                password: '',
                recomfirm: ''
            }
        }
    },
    methods: {
        submit() {
            //两次密码是否一致
            this.$router.push({ path: '/setFinish'});
        }
    }
}
</script>

<style scoped lang="scss">
.set_el_form {
    .password_inp {
        width: 100%;
    }
    .password_inp_l {
        margin: 36px 0 52px 0;
    }
}
</style>